package com.xugou.service;

import com.xugou.pojo.Client;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @author xugou
 * @date 2022/6/13  16:17
 */
public interface ClientService {

    //添加客户信息
    boolean addClientInfo(Client client);

    //删除客户
    boolean deleteClientById(int id);

    //修改客户信息
    boolean updateClient(Client client);

    //通过客户id查询客户信息
    Client queryClientById(int id);

    //查询所有的客户
    List<Client> getClientList();

    //通过客户姓名查找客户
    Client queryClientByName(String name);
}
